<%@ Page
		Language="C#"
		AutoEventWireup="true"
		CodeFile="VoteChat.aspx.cs"
		Inherits="Atlas_Chat" %>

<%@ Register Src="Poll.ascx" TagName="Poll" TagPrefix="uc2" %>
<%@ Register Src="Chat.ascx" TagName="Chat" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>ChatAspx</title>
</head>
<body>
	
	<form	runat="server">
		<asp:ScriptManager
				ID="ScriptManager1"
				runat="server" />
		<table class="tblContainer" cellpadding="10">
			<tr><td>
		<asp:LoginView
				ID="LoginView1"
				runat="server">
			<AnonymousTemplate>
				<asp:Login ID="Login1" runat="server">
					<LayoutTemplate>
						<asp:Label
								ID="UserNameLabel"
								runat="server"
								AssociatedControlID="UserName"
								meta:resourcekey="UserNameLabel" />
						<asp:TextBox
								ID="UserName"
								runat="server" />
						<asp:RequiredFieldValidator
								ID="UserNameRequired"
								runat="server"
								Display="Dynamic"
								ControlToValidate="UserName"
								ValidationGroup="ctl00$Login1"
								meta:resourcekey="UserNameRequired" />
						<asp:Label
								ID="PasswordLabel"
								runat="server"
								AssociatedControlID="Password"
								meta:resourcekey="PasswordLabel" />
						<asp:TextBox
								ID="Password"
								runat="server"
								TextMode="Password" />
						<asp:RequiredFieldValidator
								ID="PasswordRequired"
								runat="server"
								ControlToValidate="Password"
								ValidationGroup="ctl00$Login1"
								meta:resourcekey="PasswordRequired" />
						<asp:CheckBox
								ID="RememberMe"
								runat="server"
								meta:resourcekey="RememberMe" />
						<asp:Button
								ID="LoginButton"
								runat="server"
								CommandName="Login"
								ValidationGroup="ctl00$Login1"
								meta:resourcekey="LoginButton" />
						<asp:Label
								ForeColor="red"
								ID="FailureText"
								runat="server"
								EnableViewState="False" />
					</LayoutTemplate>
				</asp:Login>
			</AnonymousTemplate>
			<LoggedInTemplate>
				<asp:LoginStatus
						ID="LoginStatus1"
						runat="server"
						meta:resourcekey="LoginStatus" />
			</LoggedInTemplate>
		</asp:LoginView>
				<hr />
			</td></tr>
		</table>
		<uc1:Chat ID="Chat1" runat="server" />
		<uc2:Poll ID="Poll1" runat="server" />
		
	</form>
</body>
</html>